<%-- 
    Document   : paziente
    Created on : 7-dic-2011, 13.08.07
    Author     : sestari
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<%@taglib prefix="a4j" uri="http://richfaces.org/a4j"%>
<%@taglib prefix="rich" uri="http://richfaces.org/rich"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <f:view>
        <head>
            <link rel="stylesheet" type="text/css" href="../style_generale.css" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />           
            <f:loadBundle basename="message.message" var="msg"/>        
            <title> <h:outputText value="#{msg.statistiche}"/> </title>
        </head> 
        <body>

            <h:outputText value="#{msg.statistiche}"/> 

            <br>
            <br>

            <h:panelGrid columns="2" border="1" rules="all" >

                <h:outputText value="#{msg.visiteprogrammate}" />
                <h:outputText value="#{beanMedico.countVisiteProgrammate}"/> 

                <h:outputText value="#{msg.vaccinazioni}" />
                <h:outputText value="#{beanMedico.countVisiteVaccinazioni}"/> 

                <h:outputText value="#{msg.visitespontanee}" />
                <h:outputText value="#{beanMedico.countVisiteSpontanea}"/> 

            </h:panelGrid>
            <br>

            <h:form>
                <h:commandButton value="#{msg.back}" action="back" styleClass="button"/>                
            </h:form>
            <br>
            <br>
            <br>
            <%@ include file="/lingua/lingua.jsp" %>
        </body>

    </f:view>
</html>